package com.atguigu.gulimall.product.bn.controller;

/**
 * @NAME: MyColor
 * @USER: wjj
 * @DATE: 2023/5/31
 * @TIME: 18:57
 * @DAY_NAME_FULL: 星期三
 * @PROJECT_NAME: SpringMVC
 */
public class MyColor {
    public static void main(String[] args) {
        println("afasfsa");
    }
    public static void println(Object object)
    {
//        System.out.println("\033[40;31;4m" + object.toString() + "\033[0m");
//     其他颜色。。
//        System.out.println("\033[30;4m" + object.toString() + "\033[0m");
//        System.out.println("\033[31;4m" + object.toString() + "\033[0m");
//        System.out.println("\033[32;4m" + object.toString() + "\033[0m");
//        System.out.println("\033[33;4m" + object.toString() + "\033[0m");
//        System.out.println("\033[34;4m" + object.toString() + "\033[0m");
        System.out.println("\033[35;1m" + object.toString() + "\033[0m");//紫色加粗
//        System.out.println("\033[36;4m" + object.toString() + "\033[0m");
//        System.out.println("\033[37;4m" + object.toString() + "\033[0m");
//        System.out.println("\033[40;31;4m" + object.toString() + "\033[0m");
//        System.out.println("\033[41;32;4m" + object.toString() + "\033[0m");
//        System.out.println("\033[42;33;4m" + object.toString() + "\033[0m");
//        System.out.println("\033[43;34;4m" + object.toString() + "\033[0m");
//        System.out.println("\033[44;35;4m" + object.toString() + "\033[0m");
//        System.out.println("\033[45;36;4m" + object.toString() + "\033[0m");
//        System.out.println("\033[46;37;4m" + object.toString() + "\033[0m");
//        System.out.println("\033[47;4m" + object.toString() + "\033[0m");
    }
}
